package fun.qu_an.minecraft.mini_games_helper.client.mixin;

import fun.qu_an.minecraft.mini_games_helper.client.util.GameOptionsHelper;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.GameOptions;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

import java.io.File;

@Mixin(GameOptions.class)
public abstract class GameOptionsMixin {
	@Inject(method = "load()V", at = @At("RETURN"))
	private void onInit(CallbackInfo ci) {
		// TODO wtf this shit
		GameOptionsHelper.setLoaded();
	}
}
